
module.exports = {
    devServer: {
        host: '0.0.0.0',
        port: 3333,
        open: true,
        disableHostCheck: true,
        proxy: {
            '/admin': {
                target: 'http://mmvs.com.test/admin',
                changeOrigin: true,
                pathRewrite: {
                    '/admin': '/'
                }
            },
            '/uploads': {
                target: 'http://mmvs.com.test/uploads',
                changeOrigin: true,
                pathRewrite: {
                    '/uploads': '/'
                }
            },
            '/api': {
                target: 'http://mmvs.com.test/api',
                changeOrigin: true,
                pathRewrite: {
                    '/api': '/'
                }
            }
        }
    },
    outputDir: '../public/dist',
    assetsDir: 'static',
    productionSourceMap: false,
    parallel: false,
    publicPath: './'
}
